package com.foreknow.demo;

public class Test {
    public static void main(String[] args) {
        //学号
        int sid = 1001;
        //姓名
        String name = "fender";
        //性别
        char sex = 'm';
        //年龄
        int age = 30;
        //所在学校
        String school = "neusoft";
        //收入
        double salary = 1234.50;
        //婚否
        boolean isMarry = true;


        //String x = "学号: " + sid; //任何数据类型与String连接，最终结果都是String类型
        System.out.println("学号: " + sid + "\t" + "姓名: "+ name);
    }
}
